Skip to main content

All Questions

Tagged with
41 votes
6 answers
107k views

How does Mac's command line compare to Linux?

I love Ubuntu Linux - especially the commmand line. But I have to admit that, at least for now, Windows is more user-friendly - there's more software for it, more drivers, and more stuff just works. ...
Nathan Long's user avatar
  • 26.8k
39 votes
2 answers
29k views

what does the @ symbol mean in ls -l directory listing? [duplicate]

Possible Duplicate: ls -la symbolics… what does that last symbol mean? When I run ls -l on my mac I see two .yml files: -rw-r--r-- 1 aa staff 6 Apr 15 05:50 s1.yml -rw-r--r--@ 1 aa ...
Andrew Arrow's user avatar
33 votes
4 answers
16k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
TheOne's user avatar
  • 1,395
33 votes
4 answers
18k views

Moving a file while it's in use -- How does it work?

I've noticed that on non-Windows OS.... ie Linux/Mac I can do things like: Send a zip to a friend over aim Delete the file while it's in transfer And the transfer does not fail. Or, I can do ...
Mario Zigliotto's user avatar
29 votes
3 answers
68k views

What does kill -3 mean?

I know what kill -9 means, but anyone can explain what does kill -3 mean? Is there any special signal it sends out?
user705414's user avatar
  • 1,445
28 votes
7 answers
111k views

What is the terminal command other than ctrl + c to exit a running Node.js program in a macOS?

In Linux terminal if I run a command like: $ node httserver.js The command runs and by doing ctrl + c the program is terminated and new line comes in terminal for us to enter a command. I felt ctrl ...
Sagi_Avinash_Varma's user avatar
28 votes
4 answers
16k views

Efficient key bindings using both Mac and Linux

I'm still switching back and forth all the time from Linux to Mac, and I can't figure out how to stop getting confused in my keystrokes, especially with browsers, and Unix apps. Here's the situation: ...
justingordon's user avatar
  • 1,633
27 votes
4 answers
46k views

Adding a line into the hosts file, getting permission denied when using sudo - Mac

I'm trying to add a line into the hosts file on my Mac by executing a one line command on the terminal. I thought this would be easy using sudo, but it returns "permission denied" when I try to add &...
Mint's user avatar
  • 168
27 votes
2 answers
31k views

Filesystem compatible with GNU/Linux and Mac

Which filesystem is compatible with GNU/Linux and Mac OS? I want to be able to read/write from both GNU/Linux and Mac OS. For example I want to copy a file to my external hard-drive from GNU/Linux and ...
user avatar
25 votes
4 answers
10k views

How to get tree -a to ignore .git directories?

I love using tree to list directories, and I have a git repository with all my dotfiles. For me to be able to see them I need to do tree -a, but that will also list the contents inside the .git ...
user avatar
25 votes
5 answers
172k views

Copy files from Linux server to Mac desktop

I have a folder on a Linux server and I have to transfer that file from there to my Mac desktop. I have never done it. What is the best way to do that? I am trying to use terminal but is there any ...
user avatar
25 votes
4 answers
56k views

What's the difference between .profile and .bash_profile, and when do you configure which? (Mac) [duplicate]

Possible Duplicate: Difference between .bashrc and .bash_profile What's the difference between .profile and .bash_profile, and when do you configure which? I.e if I configure the .bash_profile, ...
Imran's user avatar
  • 373
24 votes
6 answers
32k views

Command line tool to identify audio file specs

I'm looking for an audio file equivalent to ImageMagick's identify command. For example, with identify, I can get brief information about a bunch of images: % identify b* banner1.jpg JPEG 134x614 ...
Doug Harris's user avatar
23 votes
3 answers
2k views

Sudo su vs su linux

If I enter in the password to su when prompted, it doesnt work while sudo su does. Also, when a command is executed using sudo (command), does sudo automatically execute it by root by default (since ...
agz's user avatar
  • 8,328
23 votes
5 answers
33k views

what is ranlib?

I have been using a MacOSX system for a while, but just only recently started poking into the guts. I found a guide telling me to run 'sudo ranlib /usr/local/lib/libjpeg.a'(installing libjpeg). I have ...
Ying's user avatar
  • 835

15 30 50 per page
1
2
3 4 5
67